import request from '@/utils/request'

// 查询业主认证列表
export function listAuth_binding(query) {
  return request({
    url: '/business/auth_binding/list',
    method: 'get',
    params: query
  })
}

// 查询业主认证详细
export function getAuth_binding(bindingId) {
  return request({
    url: '/business/auth_binding/' + bindingId,
    method: 'get'
  })
}

// 新增业主认证
export function addAuth_binding(data) {
  return request({
    url: '/business/auth_binding',
    method: 'post',
    data: data
  })
}

// 修改业主认证
export function updateAuth_binding(data) {
  return request({
    url: '/business/auth_binding',
    method: 'put',
    data: data
  })
}

// 删除业主认证
export function delAuth_binding(bindingId) {
  return request({
    url: '/business/auth_binding/' + bindingId,
    method: 'delete'
  })
}

// 导出业主认证
export function exportAuth_binding(query) {
  return request({
    url: '/business/auth_binding/export',
    method: 'get',
    params: query
  })
}

// 审核业主认证
export function reviewAuth_binding(data) {
  return request({
    url: '/business/auth_binding/review',
    method: 'post',
    data: data
  })
}
